package com.snopy.designPattern.structure.bridge.impl;

import com.snopy.designPattern.structure.bridge.inter.Message;
import com.snopy.designPattern.structure.bridge.inter.MessageSender;
import lombok.extern.slf4j.Slf4j;

/**
 * @author snopy
 * @version 1.0.0
 * @classname EmailMessage
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/02 18:17
 */
@Slf4j
public class EmailMessage extends Message {
    public EmailMessage(MessageSender messageSender) {
        super(messageSender);
    }

    @Override
    public void send() {
        messageSender.sendMessage();
    }

    @Override
    public void send(String msg) {
        log.info("");
    }
}
